[INFO] fetching crate punkt 1.0.5...
[INFO] checking punkt-1.0.5 against try#19b19c1ea5b23336f439d5f7be1cc1b3f1220bef for pr-112999
[INFO] extracting crate punkt 1.0.5 into /workspace/builds/worker-0-tc2/source
[INFO] validating manifest of crates.io crate punkt 1.0.5 on toolchain 19b19c1ea5b23336f439d5f7be1cc1b3f1220bef
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+19b19c1ea5b23336f439d5f7be1cc1b3f1220bef" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate punkt 1.0.5
[INFO] finished tweaking crates.io crate punkt 1.0.5
[INFO] tweaked toml for crates.io crate punkt 1.0.5 written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+19b19c1ea5b23336f439d5f7be1cc1b3f1220bef" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+19b19c1ea5b23336f439d5f7be1cc1b3f1220bef" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a420fdec406141845121210faa381f8029b0be6d4170deff7c4445a424f67918" "/opt/rustwide/cargo-home/bin/cargo" "+19b19c1ea5b23336f439d5f7be1cc1b3f1220bef" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 7fa8d88383aea6cfacc08e1bc1326b635d4fbaae5b26be4e810003f59f0f37bd
[INFO] running `Command { std: "docker" "start" "-a" "7fa8d88383aea6cfacc08e1bc1326b635d4fbaae5b26be4e810003f59f0f37bd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7fa8d88383aea6cfacc08e1bc1326b635d4fbaae5b26be4e810003f59f0f37bd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7fa8d88383aea6cfacc08e1bc1326b635d4fbaae5b26be4e810003f59f0f37bd", kill_on_drop: false }`
[INFO] [stdout] 7fa8d88383aea6cfacc08e1bc1326b635d4fbaae5b26be4e810003f59f0f37bd
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a420fdec406141845121210faa381f8029b0be6d4170deff7c4445a424f67918" "/opt/rustwide/cargo-home/bin/cargo" "+19b19c1ea5b23336f439d5f7be1cc1b3f1220bef" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 56ea91962a742ecbcf1e4b69929381d3a1417e2ecb5ae1a9fa645260a935f12a
[INFO] running `Command { std: "docker" "start" "-a" "56ea91962a742ecbcf1e4b69929381d3a1417e2ecb5ae1a9fa645260a935f12a", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v0.1.8
[INFO] [stderr]    Compiling rand_core v0.4.2
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling syn v0.15.44
[INFO] [stderr]    Compiling siphasher v0.2.3
[INFO] [stderr]     Checking rustc-serialize v0.3.24
[INFO] [stderr]     Checking rand v0.4.6
[INFO] [stderr]    Compiling num-iter v0.1.43
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling rand_core v0.3.1
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling rand_hc v0.1.0
[INFO] [stderr]    Compiling rand_xorshift v0.1.1
[INFO] [stderr]    Compiling rand_isaac v0.1.1
[INFO] [stderr]    Compiling rand_jitter v0.1.4
[INFO] [stderr]    Compiling rand_os v0.1.3
[INFO] [stderr]    Compiling phf_shared v0.7.24
[INFO] [stderr]    Compiling winapi-build v0.1.1
[INFO] [stderr]     Checking winapi v0.2.8
[INFO] [stderr]     Checking rust-freqdist v0.1.5
[INFO] [stderr]    Compiling kernel32-sys v0.2.2
[INFO] [stderr]     Checking walkdir v0.1.8
[INFO] [stderr]    Compiling phf_generator v0.7.24
[INFO] [stderr]     Checking num-bigint v0.1.44
[INFO] [stderr]     Checking num-complex v0.1.43
[INFO] [stderr]     Checking num-rational v0.1.42
[INFO] [stderr]     Checking num v0.1.42
[INFO] [stderr]    Compiling phf_macros v0.7.24
[INFO] [stderr]     Checking phf v0.7.24
[INFO] [stderr]     Checking punkt v1.0.5 (/opt/rustwide/workdir)
[INFO] [stdout] error: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable
[INFO] [stdout]    --> src/trainer.rs:774:7
[INFO] [stdout]     |
[INFO] [stdout] 774 |       #[bench] fn $name(b: &mut ::test::Bencher) {
[INFO] [stdout]     |         ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 785 | / bench_trainer!(
[INFO] [stdout] 786 | |   bench_trainer_short,
[INFO] [stdout] 787 | |   include_str!("../test/raw/sigma-wiki.txt")
[INFO] [stdout] 788 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #64266 <https://github.com/rust-lang/rust/issues/64266>
[INFO] [stdout]     = note: `#[deny(soft_unstable)]` on by default
[INFO] [stdout]     = note: this error originates in the macro `bench_trainer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable
[INFO] [stdout]    --> src/trainer.rs:774:7
[INFO] [stdout]     |
[INFO] [stdout] 774 |       #[bench] fn $name(b: &mut ::test::Bencher) {
[INFO] [stdout]     |         ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 790 | / bench_trainer!(
[INFO] [stdout] 791 | |   bench_trainer_medium,
[INFO] [stdout] 792 | |   include_str!("../test/raw/npr-article-01.txt")
[INFO] [stdout] 793 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #64266 <https://github.com/rust-lang/rust/issues/64266>
[INFO] [stdout]     = note: this error originates in the macro `bench_trainer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable
[INFO] [stdout]    --> src/trainer.rs:774:7
[INFO] [stdout]     |
[INFO] [stdout] 774 |       #[bench] fn $name(b: &mut ::test::Bencher) {
[INFO] [stdout]     |         ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 795 | / bench_trainer!(
[INFO] [stdout] 796 | |   bench_trainer_long,
[INFO] [stdout] 797 | |   include_str!("../test/raw/the-sayings-of-confucius.txt")
[INFO] [stdout] 798 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #64266 <https://github.com/rust-lang/rust/issues/64266>
[INFO] [stdout]     = note: this error originates in the macro `bench_trainer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable
[INFO] [stdout]    --> src/trainer.rs:774:7
[INFO] [stdout]     |
[INFO] [stdout] 774 |       #[bench] fn $name(b: &mut ::test::Bencher) {
[INFO] [stdout]     |         ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 800 | / bench_trainer!(
[INFO] [stdout] 801 | |   bench_trainer_very_long,
[INFO] [stdout] 802 | |   include_str!("../test/raw/pride-and-prejudice.txt")
[INFO] [stdout] 803 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #64266 <https://github.com/rust-lang/rust/issues/64266>
[INFO] [stdout]     = note: this error originates in the macro `bench_trainer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable
[INFO] [stdout]    --> src/tokenizer.rs:722:7
[INFO] [stdout]     |
[INFO] [stdout] 722 |       #[bench] fn $name(b: &mut ::test::Bencher) {
[INFO] [stdout]     |         ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 731 | / bench_word_tokenizer!(
[INFO] [stdout] 732 | |   word_tokenizer_bench_short,
[INFO] [stdout] 733 | |   include_str!("../test/raw/sigma-wiki.txt")
[INFO] [stdout] 734 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #64266 <https://github.com/rust-lang/rust/issues/64266>
[INFO] [stdout]     = note: this error originates in the macro `bench_word_tokenizer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable
[INFO] [stdout]    --> src/tokenizer.rs:722:7
[INFO] [stdout]     |
[INFO] [stdout] 722 |       #[bench] fn $name(b: &mut ::test::Bencher) {
[INFO] [stdout]     |         ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 736 | / bench_word_tokenizer!(
[INFO] [stdout] 737 | |   word_tokenizer_bench_medium,
[INFO] [stdout] 738 | |   include_str!("../test/raw/npr-article-01.txt")
[INFO] [stdout] 739 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #64266 <https://github.com/rust-lang/rust/issues/64266>
[INFO] [stdout]     = note: this error originates in the macro `bench_word_tokenizer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable
[INFO] [stdout]    --> src/tokenizer.rs:722:7
[INFO] [stdout]     |
[INFO] [stdout] 722 |       #[bench] fn $name(b: &mut ::test::Bencher) {
[INFO] [stdout]     |         ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 741 | / bench_word_tokenizer!(
[INFO] [stdout] 742 | |   word_tokenizer_bench_long,
[INFO] [stdout] 743 | |   include_str!("../test/raw/the-sayings-of-confucius.txt")
[INFO] [stdout] 744 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #64266 <https://github.com/rust-lang/rust/issues/64266>
[INFO] [stdout]     = note: this error originates in the macro `bench_word_tokenizer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable
[INFO] [stdout]    --> src/tokenizer.rs:722:7
[INFO] [stdout]     |
[INFO] [stdout] 722 |       #[bench] fn $name(b: &mut ::test::Bencher) {
[INFO] [stdout]     |         ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 746 | / bench_word_tokenizer!(
[INFO] [stdout] 747 | |   word_tokenizer_bench_very_long,
[INFO] [stdout] 748 | |   include_str!("../test/raw/pride-and-prejudice.txt")
[INFO] [stdout] 749 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #64266 <https://github.com/rust-lang/rust/issues/64266>
[INFO] [stdout]     = note: this error originates in the macro `bench_word_tokenizer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable
[INFO] [stdout]    --> src/tokenizer.rs:753:7
[INFO] [stdout]     |
[INFO] [stdout] 753 |       #[bench] fn $name(b: &mut ::test::Bencher) {
[INFO] [stdout]     |         ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 769 | / bench_sentence_tokenizer!(
[INFO] [stdout] 770 | |   bench_sentence_tokenizer_train_on_document_short,
[INFO] [stdout] 771 | |   include_str!("../test/raw/sigma-wiki.txt")
[INFO] [stdout] 772 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #64266 <https://github.com/rust-lang/rust/issues/64266>
[INFO] [stdout]     = note: this error originates in the macro `bench_sentence_tokenizer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable
[INFO] [stdout]    --> src/tokenizer.rs:753:7
[INFO] [stdout]     |
[INFO] [stdout] 753 |       #[bench] fn $name(b: &mut ::test::Bencher) {
[INFO] [stdout]     |         ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 774 | / bench_sentence_tokenizer!(
[INFO] [stdout] 775 | |   bench_sentence_tokenizer_train_on_document_medium,
[INFO] [stdout] 776 | |   include_str!("../test/raw/npr-article-01.txt")
[INFO] [stdout] 777 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #64266 <https://github.com/rust-lang/rust/issues/64266>
[INFO] [stdout]     = note: this error originates in the macro `bench_sentence_tokenizer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable
[INFO] [stdout]    --> src/tokenizer.rs:753:7
[INFO] [stdout]     |
[INFO] [stdout] 753 |       #[bench] fn $name(b: &mut ::test::Bencher) {
[INFO] [stdout]     |         ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 779 | / bench_sentence_tokenizer!(
[INFO] [stdout] 780 | |   bench_sentence_tokenizer_train_on_document_long,
[INFO] [stdout] 781 | |   include_str!("../test/raw/pride-and-prejudice.txt")
[INFO] [stdout] 782 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #64266 <https://github.com/rust-lang/rust/issues/64266>
[INFO] [stdout]     = note: this error originates in the macro `bench_sentence_tokenizer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]    --> src/trainer.rs:326:21
[INFO] [stdout]     |
[INFO] [stdout] 326 |               (&mut *(data as *const TrainingData as *mut TrainingData))
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[deny(cast_ref_to_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]    --> src/trainer.rs:333:21
[INFO] [stdout]     |
[INFO] [stdout] 333 |               (&mut *(data as *const TrainingData as *mut TrainingData))
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]    --> src/trainer.rs:345:45
[INFO] [stdout]     |
[INFO] [stdout] 345 |         util::annotate_first_pass::<P>(&mut *(t as *const Token as *mut Token), data);
[INFO] [stdout]     |                                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]    --> src/trainer.rs:424:17
[INFO] [stdout]     |
[INFO] [stdout] 424 |           (&mut *(data as *const TrainingData as *mut TrainingData)).insert_collocation(
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 15 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `punkt` (lib) due to 16 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]    --> src/trainer.rs:326:21
[INFO] [stdout]     |
[INFO] [stdout] 326 |               (&mut *(data as *const TrainingData as *mut TrainingData))
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[deny(cast_ref_to_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]    --> src/trainer.rs:333:21
[INFO] [stdout]     |
[INFO] [stdout] 333 |               (&mut *(data as *const TrainingData as *mut TrainingData))
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]    --> src/trainer.rs:345:45
[INFO] [stdout]     |
[INFO] [stdout] 345 |         util::annotate_first_pass::<P>(&mut *(t as *const Token as *mut Token), data);
[INFO] [stdout]     |                                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]    --> src/trainer.rs:424:17
[INFO] [stdout]     |
[INFO] [stdout] 424 |           (&mut *(data as *const TrainingData as *mut TrainingData)).insert_collocation(
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `punkt` (lib test) due to 5 previous errors
[INFO] running `Command { std: "docker" "inspect" "56ea91962a742ecbcf1e4b69929381d3a1417e2ecb5ae1a9fa645260a935f12a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "56ea91962a742ecbcf1e4b69929381d3a1417e2ecb5ae1a9fa645260a935f12a", kill_on_drop: false }`
[INFO] [stdout] 56ea91962a742ecbcf1e4b69929381d3a1417e2ecb5ae1a9fa645260a935f12a
